home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Tools 2
/
Amiga Tools 2.iso
/
tex
/
macros
/
source
/
contrib
/
xypic
/
src
/
xyps-col.doc
< prev
next >
Wrap
Text File
|
1995-03-09
|
6KB
|
152 lines
%% $Id: xyps-col.doc,v 2.10 1994/06/15 12:46:03 ross Exp $
%%
%% XY-pic ``predefined colours'' PostScript backend support.
%% Copyright (c) 1993-1994 Ross Moore <ross@mpce.mq.edu.au>
%%
%% This file is part of the XY-pic package for graphs and diagrams in TeX.
%% See the companion README and INSTALL files for further information.
%% Copyright (c) 1991-1994 Kristoffer H. Rose <kris@diku.dk>
%%
%% The XY-pic package is free software; you can redistribute it and/or modify
%% it under the terms of the GNU General Public License as published by the
%% Free Software Foundation; either version 2 of the License, or (at your
%% option) any later version.
%%
%% The XY-pic package is distributed in the hope that it will be useful, but
%% WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
%% or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
%% for more details.
%%
%% You should have received a copy of the GNU General Public License along
%% with this package; if not, write to the Free Software Foundation, Inc.,
%% 675 Mass Ave, Cambridge, MA 02139, USA.
%%
\ifx\xypscolloaded\relax \message{not reloaded}\endinput \fi
\let\xypscolloaded=\relax \xycatcodes
\DOCMODE3%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
This included file (version \stripRCS$Revision: 2.10 $) provides definitions
for the 68 colours recognised by name by Tomas Rokicki's |dvips|
driver~\cite{dvips}. These colours become available for use in \XY-pic
pictures and diagrams, as |[|<shape>|]| modifiers.
\DOCMODE2%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\DOCHEADER
Only makes sense to load this after |color|.
\DOCMODE(
\xyrequire{color}
\xycatcodes
\DOCMODE)
\DOCMODE3%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
The information has been copied from Rokicki's |color.pro| \PS\ prolog file:
``There are 68 predefined colours, with names taken primarily from the
Crayola crayon box of 64 colours''~\cite[\S16.1]{dvips}.
\DOCMODE(
\newxycolor{GreenYellow}{0.15 0 0.69 0 cmyk}%
\newxycolor{Yellow}{0 0 1 0 cmyk}%
\newxycolor{Goldenrod}{0 0.10 0.84 0 cmyk}%
\newxycolor{Dandelion}{0 0.29 0.84 0 cmyk}%
\newxycolor{Apricot}{0 0.32 0.52 0 cmyk}%
\newxycolor{Peach}{0 0.50 0.70 0 cmyk}%
\newxycolor{Melon}{0 0.46 0.50 0 cmyk}%
\newxycolor{YellowOrange}{0 0.42 1 0 cmyk}%
\newxycolor{Orange}{0 0.61 0.87 0 cmyk}%
\newxycolor{BurntOrange}{0 0.51 1 0 cmyk}%
\newxycolor{Bittersweet}{0 0.75 1 0.24 cmyk}%
\newxycolor{RedOrange}{0 0.77 0.87 0 cmyk}%
\newxycolor{Mahogany}{0 0.85 0.87 0.35 cmyk}%
\newxycolor{Maroon}{0 0.87 0.68 0.32 cmyk}%
\newxycolor{BrickRed}{0 0.89 0.94 0.28 cmyk}%
\newxycolor{Red}{0 1 1 0 cmyk}%
\newxycolor{OrangeRed}{0 1 0.50 0 cmyk}%
\newxycolor{RubineRed}{0 1 0.13 0 cmyk}%
\newxycolor{WildStrawberry}{0 0.96 0.39 0 cmyk}%
\newxycolor{Salmon}{0 0.53 0.38 0 cmyk}%
\newxycolor{CarnationPink}{0 0.63 0 0 cmyk}%
\newxycolor{Magenta}{0 1 0 0 cmyk}%
\newxycolor{VioletRed}{0 0.81 0 0 cmyk}%
\newxycolor{Rhodamine}{0 0.82 0 0 cmyk}%
\newxycolor{Mulberry}{0.34 0.90 0 0.02 cmyk}%
\newxycolor{RedViolet}{0.07 0.90 0 0.34 cmyk}%
\newxycolor{Fuchsia}{0.47 0.91 0 0.08 cmyk}%
\newxycolor{Lavender}{0 0.48 0 0 cmyk}%
\newxycolor{Thistle}{0.12 0.59 0 0 cmyk}%
\newxycolor{Orchid}{0.32 0.64 0 0 cmyk}%
\newxycolor{DarkOrchid}{0.40 0.80 0.20 0 cmyk}%
\newxycolor{Purple}{0.45 0.86 0 0 cmyk}%
\newxycolor{Plum}{0.50 1 0 0 cmyk}%
\newxycolor{Violet}{0.79 0.88 0 0 cmyk}%
\newxycolor{RoyalPurple}{0.75 0.90 0 0 cmyk}%
\newxycolor{BlueViolet}{0.86 0.91 0 0.04 cmyk}%
\newxycolor{Periwinkle}{0.57 0.55 0 0 cmyk}%
\newxycolor{CadetBlue}{0.62 0.57 0.23 0 cmyk}%
\newxycolor{CornflowerBlue}{0.65 0.13 0 0 cmyk}%
\newxycolor{MidnightBlue}{0.98 0.13 0 0.43 cmyk}%
\newxycolor{NavyBlue}{0.94 0.54 0 0 cmyk}%
\newxycolor{RoyalBlue}{1 0.50 0 0 cmyk}%
\newxycolor{Blue}{1 1 0 0 cmyk}%
\newxycolor{Cerulean}{0.94 0.11 0 0 cmyk}%
\newxycolor{Cyan}{1 0 0 0 cmyk}%
\newxycolor{ProcessBlue}{0.96 0 0 0 cmyk}%
\newxycolor{SkyBlue}{0.62 0 0.12 0 cmyk}%
\newxycolor{Turquoise}{0.85 0 0.20 0 cmyk}%
\newxycolor{TealBlue}{0.86 0 0.34 0.02 cmyk}%
\newxycolor{Aquamarine}{0.82 0 0.30 0 cmyk}%
\newxycolor{BlueGreen}{0.85 0 0.33 0 cmyk}%
\newxycolor{Emerald}{1 0 0.50 0 cmyk}%
\newxycolor{JungleGreen}{0.99 0 0.52 0 cmyk}%
\newxycolor{SeaGreen}{0.69 0 0.50 0 cmyk}%
\newxycolor{Green}{1 0 1 0 cmyk}%
\newxycolor{ForestGreen}{0.91 0 0.88 0.12 cmyk}%
\newxycolor{PineGreen}{0.92 0 0.59 0.25 cmyk}%
\newxycolor{LimeGreen}{0.50 0 1 0 cmyk}%
\newxycolor{YellowGreen}{0.44 0 0.74 0 cmyk}%
\newxycolor{SpringGreen}{0.26 0 0.76 0 cmyk}%
\newxycolor{OliveGreen}{0.64 0 0.95 0.40 cmyk}%
\newxycolor{RawSienna}{0 0.72 1 0.45 cmyk}%
\newxycolor{Sepia}{0 0.83 1 0.70 cmyk}%
\newxycolor{Brown}{0 0.81 1 0.60 cmyk}%
\newxycolor{Tan}{0.14 0.42 0.56 0 cmyk}%
\newxycolor{Gray}{0 0 0 0.50 cmyk}%
\newxycolor{Black}{0 0 0 1 cmyk}%
\newxycolor{White}{0 0 0 0 cmyk}%
\DOCMODE)
\DOCMODE2%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\DOCMODE(
\xyendinput
% $Log: xyps-col.doc,v $
% Revision 2.10 1994/06/15 12:46:03 ross
% Second release 3beta.
% Colour and line style saving works; label colouring bug fixed.
%
% Revision 2.10 1994/06/15 12:46:03 ross
% Second release 3beta.
% Colour and line style saving works; label colouring bug fixed.
%
% Revision 2.9 1994/06/09 14:38:56 ross
% Release 3beta.
% Includes support for special effects: Rotations, Scaling, Line-width, Colour.
% Back-ends are separated into separate files.
% More back-ends are supported, experimentally --- needs testing.
%
% NEW for version 2.9 by Ross Moore 1994/05/30.
\DOCMODE)
\DOCMODE3%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Tell Emacs that this is a LaTeX document and how it is formatted:
% Local Variables:
% mode:latex
% fill-column:77
% fill-prefix:""
% End: